<template>
  <div class="right-container">
    <h3>Right 组件</h3>
    <hr />
    <p>count 值：{{ count }}---{{ age }}</p>
    <button class="btn btn-warning">-1</button>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  name: "Right",
  computed: {
    ...mapState(["count", "age"]),
  },
};
</script>

<style></style>
